package edu.ynu.se.xiecheng.achitectureclass.controller;

import edu.ynu.se.xiecheng.achitectureclass.dao.OrderDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.Order;
import edu.ynu.se.xiecheng.achitectureclass.service.OrderService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "订单控制器")
@RestController
@RequestMapping("/order")
public class OrderController extends LogicController<OrderService, OrderDAO, Order,Long>{
    public OrderController(@Autowired OrderService service) {super(service);}

}
